package com.jcode222.service;

import com.jcode222.entity.Order;
import com.jcode222.entity.Storage;

public interface IStorageService {

    void save(Storage storage);

    Storage findById(Long id);

    void decreaseStorage(Order order);

    void decreaseStorageRollback(Order order);
}
